package com.qkst.website.common.core;

import java.io.Serializable;

public class Pager implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1539591794122778152L;

	private int page;//当前页数

	private int rows;//显示行数

	private int starRow;//开始行数
	
	private int total;//总页数
	
	private int records;//总记录数

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public int getStarRow() {
		starRow=(this.page-1)*this.rows;
		return starRow;
	}

	public void setStarRow(int starRow) {
		this.starRow = starRow;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}
	
	

}
